#pragma once
#include "TablesData.h"

class Position
{
public:
	Position(Position * root, int lh1, int rh1, int lh2, int rh2 ,CTreeCtrl * tree=NULL);
	~Position(void);

	Position * parent;
	Position * child;
	Position * sister;
	double estimation;
	int LH[2];
	int RH[2];
	bool EffectSpell[QuantitySpells];
	double probability;

	HTREEITEM treetop;

	void NewChild(Position * parent);
	void DeleteTree();	

private:
	

};
